package bkt.framework.db;

import java.util.ArrayList;

public class TableImportUnit {

	private String tableName = null;
	private String createQuery = null;
	private String selectQuery = null;
	private String insertQuery = null;
	private String[] columnNames = null;
	private String pkColumnName = null;
	@SuppressWarnings("rawtypes")
	private ArrayList tableData = new ArrayList<>();
	
	public TableImportUnit() {
	}

	public TableImportUnit(String tableName, String createQuery, String selectQuery, String insertQuery, String[] columnNames, String pkColumnName) {
		super();
		this.tableName = tableName;
		this.createQuery = createQuery;
		this.selectQuery = selectQuery;
		this.insertQuery = insertQuery;
		this.columnNames = columnNames;
		this.pkColumnName = pkColumnName;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getCreateQuery() {
		return createQuery;
	}

	public void setCreateQuery(String createQuery) {
		this.createQuery = createQuery;
	}

	public String getSelectQuery() {
		return selectQuery;
	}

	public void setSelectQuery(String selectQuery) {
		this.selectQuery = selectQuery;
	}

	public String getInsertQuery() {
		return insertQuery;
	}

	public void setInsertQuery(String insertQuery) {
		this.insertQuery = insertQuery;
	}

	public String[] getColumnNames() {
		return columnNames;
	}

	public void setColumnNames(String[] columnNames) {
		this.columnNames = columnNames;
	}

	public String getPkColumnName() {
		return pkColumnName;
	}

	public void setPkColumnName(String pkColumnName) {
		this.pkColumnName = pkColumnName;
	}

	@SuppressWarnings("rawtypes")
	public ArrayList getTableData() {
		return tableData;
	}

	@SuppressWarnings("rawtypes")
	public void setTableData(ArrayList tableData) {
		this.tableData = tableData;
	}
}
